package com.bailong.nanny.service.impl;

import com.bailong.nanny.d.AddUserDao;
import com.bailong.nanny.dao.impl.AddUserDaoImpl;
import com.bailong.nanny.entity.User;
import com.bailong.nanny.service.AddUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AddUserServiceImpl implements AddUserService {
    @Autowired
    public AddUserDao addUserDao;
    @Override
    public int AddUserDao(User user) {
        return addUserDao.addUser(user);
    }
}
